TreeGrid Gantt Chart Tutorial
6. Real Flow
Supplement bars to show actual or result process of the planned task
-
Real flow is defined by
Flow
attribute.
The real flow column must have set Type='Date' Range='1'.
-
The flow bars are defined as date ranges like start1~end1;start2~end2;start3~end3;...
If set only one date like ...;dateX;... it shows bar long as one GanttDataUnit.
It is possible to show milestone as ...;~dateX;... for end milestone and ...;dateX~;... for start milestone.
-
Real flow is expected to use as supplement to main bar and show the actual process of the planned task.
It is possible to make only the flow editable by GanttEdit='Flow', to let users change the result process, but not the plan.
-
Real flow bars can be discrete with more parts. Adjacent or overflowed parts are automatically merged to one.
-
If set
GanttFlowJoin
='0', the flow bars cannot overflow and adjacent bars are not merged.
-
Real flow can replace main bar to support discrete main bar. It can be done by attribute
GanttFlowComplete
.
In this case is the flow shown as the main bar boxes. The main bars should be not used here to not confuse users.
-
Real flow is expected to not have dependencies to other tasks, because it is usually just supplement to main bar, except it replaces main bar by GanttFlowComplete.
But if required, real flow supports dependencies, if set GanttObject='Flow'.
In this case it can be also automatically moved when correcting dependencies.
-
Tooltip can be set for the whole task by GanttFlowText and the tooltip format or other text is set by GanttFlowTip.
-
Custom HTML content for Flow bar can be generated by
OnGetGanttFlowHtml
API event.
If you want to overlay the boxes with some text on them, you can set GanttTextOverlay='1' to show only one text at one place.